<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>流程审批管理</title>
	<meta name="decorator" content="default"/>
	<style>
		html, body, .box{width:100%;height:100%;}
		.box{display:flex;}
		.flowImg{
			flex-grow:4;
			width:40%;
			margin:30px 0;
			background:url('${ctxStatic}/images/flow.png') no-repeat center;
			background-size:auto 100%;
		}
		.formInfo{flex-grow:6;width:60%;padding-top:30px;}
		.formInfo .title{font-size: 20px;margin-bottom: 30px;}
		.formInfo .form-actions{background-color: transparent;border: 0;}
	</style>
</head>
<body>
	<div class="box">
		<div class="flowImg"></div>
		<div class="formInfo">
			<div class="title">数据填报</div>
			<form:form id="inputForm" modelAttribute="mine" action="${ctx}/mine/mine/save" method="post" class="form-horizontal">
				<form:hidden path="id"/>
				<sys:message content="${message}"/>		
				<div class="control-group">
					<label class="control-label">矿井名：</label>
					<div class="controls">
						<form:input path="minename" htmlEscape="false" maxlength="255" class="input-xlarge required" autocomplete="off"/>
						<span class="help-inline"><font color="red">*</font> </span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">经度：</label>
					<div class="controls">
						<form:input path="longitude" htmlEscape="false" class="input-xlarge required number" autocomplete="off"/>
						<span class="help-inline"><font color="red">*</font> </span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">纬度：</label>
					<div class="controls">
						<form:input path="latitude" htmlEscape="false" class="input-xlarge required number" autocomplete="off"/>
						<span class="help-inline"><font color="red">*</font> </span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">井深(米)：</label>
					<div class="controls">
						<form:input path="depth" htmlEscape="false" class="input-xlarge required number" autocomplete="off"/>
						<span class="help-inline"><font color="red">*</font> </span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">直径(米)：</label>
					<div class="controls">
						<form:input path="diameter" htmlEscape="false" class="input-xlarge required number" autocomplete="off"/>
						<span class="help-inline"><font color="red">*</font> </span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">备注信息：</label>
					<div class="controls">
						<form:textarea path="remarks" htmlEscape="false" rows="4" maxlength="255" class="input-xxlarge"/>
					</div>
				</div>
				<div class="form-actions">
					<shiro:hasPermission name="mine:mine:edit"><input id="btnSubmit" class="btn btn-primary" type="submit" value="提交审批"/>&nbsp;</shiro:hasPermission>
					<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
				</div>
			</form:form>
		</div>
	</div>
</body>
</html>